﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="UploadProduct.aspx.cs" Inherits="shopxachtayphap.UploadProduct" %>

<%@ Register Assembly="EditableDropDownList" Namespace="EditableControls" TagPrefix="editable" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <script src="Js/jquery-1.8.0.min.js"></script>
    <%--<script src="Js/jquery-1.11.3.min.js"></script>--%>
    <link rel="stylesheet" href="css/prettyPhoto.css" type="text/css" media="screen"
        title="prettyPhoto main stylesheet" charset="utf-8" />
    <script src="js/jquery.prettyPhoto.js" type="text/javascript" charset="utf-8"></script>
    <script src="js/timerpicker/jquery1.8.23-ui.min.js" type="text/javascript"></script>
    <link href="css/Combobox/jquery-ui.css" rel="stylesheet" type="text/css" />
    <script src="js/Combobox/jquery.ui.autocomplete.js" type="text/javascript"></script>
    <script src="js/Combobox/jquery.ui.button.js" type="text/javascript"></script>
    <script src="js/Combobox/jquery.ui.combobox.js" type="text/javascript"></script>
    <script src="js/Combobox/jquery.ui.position.js" type="text/javascript"></script>
    <script src="js/Combobox/jquery.ui.widget.js" type="text/javascript"></script>

    <style type="text/css">
        .auto-style1
        {
            width: 129px;
        }

        .auto-style2
        {
        }

        .auto-style3
        {
            width: 129px;
            height: 26px;
        }

        .auto-style4
        {
            height: 26px;
        }

        .auto-style5
        {
            height: 26px;
        }
    </style>
</head>
<body>
    <script type="text/javascript" charset="utf-8">
        $(document).ready(function () {

            $("a[rel^='prettyPhoto']").prettyPhoto({
                gallery_markup: false,
                social_tools: false,
                deeplinking: false,
                horizontal_padding: 100,
                keyboard_shortcuts: false,
                overlay_gallery: false,
                modal: true,
                allow_resize: true
            });
        });
    </script>
    <form id="form1" runat="server">
        <div>


            <table style="width: 100%;">
                <tr>
                    <td class="auto-style1">Tên sản phẩm</td>
                    <td class="auto-style2" colspan="2">
                        <asp:TextBox ID="txtName" runat="server"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="auto-style3">Giá</td>
                    <td class="auto-style5" colspan="2">
                        <asp:TextBox ID="txtPrice" runat="server"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="auto-style1">Giá giảm</td>
                    <td class="auto-style2" colspan="2">
                        <asp:TextBox ID="txtDiscount" runat="server"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="auto-style1">Description</td>
                    <td class="auto-style2" colspan="2">
                        <asp:TextBox ID="txtDescription" runat="server"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="auto-style1">Image</td>
                    <td class="auto-style2" colspan="2">
                        <a id="btUpload" href="UploadImage.aspx?iframe=true&width=1200&height=500" rel="prettyPhoto[iframe]">upload</a>
                    </td>
                </tr>
                <tr>
                    <td class="auto-style3">Nhà sx</td>
                    <td class="auto-style4" colspan="2">
                        <%-- <asp:DropDownList ID="drNsx"  runat="server">
                    </asp:DropDownList>--%>
                        <editable:EditableDropDownList ID="drNsx" runat="server"></editable:EditableDropDownList>
                    </td>
                </tr>
                <tr>
                    <td class="auto-style1">Category</td>
                    <td class="auto-style2" colspan="2">
                        <%--      <asp:DropDownList ID="DrCategory" runat="server">
                    </asp:DropDownList>--%>
                        <editable:EditableDropDownList ID="DrCategory" runat="server"></editable:EditableDropDownList>
                    </td>
                </tr>
                <tr>
                    <td class="auto-style1">
                        <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="Button" />
                    </td>
                    <td class="auto-style2">&nbsp;</td>
                    <td>&nbsp;</td>
                </tr>
            </table>



        </div>
    </form>
</body>
</html>
